//
//  NRWApplyMortgageTopView.m
//  Finance
//
//  Created by 邢毅 on 2018/7/31.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import "NRWApplyMortgageTopView.h"

@interface NRWApplyMortgageTopView()

@property (strong, nonatomic) IBOutlet UIButton *marketBtn;

@property (strong, nonatomic) IBOutlet UIButton *shopBtn;

@end

@implementation NRWApplyMortgageTopView

- (instancetype)init
{
	self = [[NSBundle mainBundle] loadNibNamed:@"NRWApplyMortgageTopView" owner:self options:nil].lastObject;
	if (self) {
		
	}
	return self;
}
- (IBAction)marketBtnDidClick:(UIButton *)sender {
	
	if ([self.delegate respondsToSelector:@selector(applyMortgageTopView:btnDidClick:btnTag:)]) {
		[self.delegate applyMortgageTopView:self btnDidClick:sender btnTag:ApplyMortgageTopViewBtnTagMarket];
	}
}

- (IBAction)shopBtnDidClick:(UIButton *)sender {
	
	if ([self.delegate respondsToSelector:@selector(applyMortgageTopView:btnDidClick:btnTag:)]) {
		[self.delegate applyMortgageTopView:self btnDidClick:sender btnTag:ApplyMortgageTopViewBtnTagShop];
	}
}

@end
